from selenium import webdriver
from page.login_page_helin import LoginPage
import unittest

class BaseCase(unittest.TestCase):
    def setUp(self) -> None:
        self.driver = webdriver.Chrome()
        self.driver.maximize_window()
        self.driver.implicitly_wait(30)

        lg = LoginPage(self.driver)
        lg.open()
        lg.add_username("admin")
        lg.add_password("admin123")
        lg.click_submit()

    def tearDown(self) -> None:
        self.driver.quit()

if __name__=="__main__":
    unittest.main()


